package com.qf.pojo;

/**
 * @author fy
 * @version V1.0
 * @Project day41
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/5/27 12:21
 */
public class User {
    private int uid;
    private String username;//用户名
    private String password;//用户密码
    private String status;//用户状态 1：正常  2：失效

    public User() {
    }

    public User(int uid, String username, String password, String status) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.status = status;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
